//
//  StartWriteHomeworkCell.h
//  ZPIOSEducation
//
//  Created by 董伟1 on 17/1/12.
//  Copyright © 2017年 mini1. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol WriteHomeWorkCellDelegate <NSObject>

- (void)deletePictureWithIndex:(NSInteger)index;

@end

@interface StartWriteHomeworkCell : UITableViewCell <UITextViewDelegate,UICollectionViewDelegate,UICollectionViewDataSource,UICollectionViewDelegateFlowLayout>
{
    NSMutableArray  *dataArray;
    BOOL  isEdit;
}

@property (weak, nonatomic) IBOutlet UITextView *textView;
@property (weak, nonatomic) IBOutlet UILabel *placeholderLab;
@property (weak, nonatomic) IBOutlet UILabel *numLab;
@property (weak, nonatomic) IBOutlet UICollectionView *picCollectionView;

@property (assign, nonatomic) id <WriteHomeWorkCellDelegate> writeDelegate;

- (void)setContentCellWithArray:(NSArray  *)array  isEditing:(BOOL)editing;

@end
